package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.StudentFaceData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 人脸采集 Mapper 接口
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface StudentFaceDataMapper extends BaseMapper<StudentFaceData> {

    /**
     * 调整为未设置状态
     * @param Id
     * @param Id
     * @return
     */
    @Update("update student_face_data set entity_id = null,face_id = null,qualitie_score = null,update_level=0 where id = ${Id}")
    public Integer updateNotSign(@Param("Id") Long Id);
}
